home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Tech Arsenal 1
/
Tech Arsenal (Arsenal Computer).ISO
/
arsenal.bat
next >
Wrap
DOS Batch File
|
1993-08-25
|
10KB
|
185 lines
@ECHO OFF
IF "%1"=="" GOTO GETDRIVE
IF "%2"=="" GOTO GETDRIVE
GOTO GETSTART
:GETDRIVE
CLS
ECHO.
ECHO █▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀█
ECHO █ Arsenal Computer - Tech Arsenal CD-ROM █
ECHO █▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄█
ECHO ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
ECHO █ █
ECHO █ Please Specify Where your Hard Drive to Install to is, █
ECHO █ and what drive letter your CD-ROM Player is located at. █
ECHO █ █
ECHO █ Please use the Following Format: █
ECHO █ █
ECHO █ ARSENAL C D █
ECHO █ █
ECHO █ If you want to install to your C: Drive, and your CD-ROM █
ECHO █ player being your D: Drive. Please do NOT put in any █
ECHO █ colons after the drive letters. █
ECHO █▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄█
ECHO.
ECHO.
GOTO END
:GETSTART
CLS
ECHO █▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀█
ECHO █ You Have indicated that your installation hard drive is %1:\; █
echo █ and that your CD-ROM Player is Located at %2:\; █
echo █ █
echo █ Is This Correct? █
echo █▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄█
echo.
echo.
ASK A N
IF ERRORLEVEL = 2 GOTO END
IF ERRORLEVEL = 1 GOTO DO_IT
IF ERRORLEVEL = 0 GOTO END
:DO_IT
CLS
ECHO.
ECHO.
ECHO █▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀█
ECHO █ We are now going to create a batchfile that will allow you to █
ECHO █ access the Tech Arsenal CD-ROM disc easily. █
ECHO █ █
ECHO █ This Batchfile will be installed to the Root Directory of the █
ECHO █ %1: Drive. If you do NOT wish this to occur, please indicate █
ECHO █ so now. This Batchfile will take up less than 1k of your hard █
ECHO █ drive space, so it will not significantly impact your hard █
ECHO █ drive storage. █
ECHO █▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄█
ECHO.
ECHO Do You wish to create the Batchfile?
ECHO.
ASK A N
IF ERRORLEVEL = 2 GOTO END
IF ERRORLEVEL = 1 GOTO MAKEBAT
IF ERRORLEVEL = 0 GOTO END
:MAKEBAT
IF EXIST %1:\TEK.BAT DEL %1:\TEK.BAT
%1
MD %1:\TEK
MD %1:\TEKDROP
CD %1:\TEK
COPY %2:\EZROM\*.* %1:\TEK\*.*
IF EXIST %1:\TEK\EZROM.CFG DEL %1:\TEK\EZROM.CFG
ECHO DiskName Tech Arsenal >> %1:\TEK\EZROM.CFG
ECHO HoldDir %1:\TEKDROP >> %1:\TEK\EZROM.CFG
ECHO CopyToMag ON >> %1:\TEK\EZROM.CFG
ECHO Log OFF >> %1:\TEK\EZROM.CFG
ECHO Style 1 >> %1:\TEK\EZROM.CFG
ECHO Share ON >> %1:\TEK\EZROM.CFG
ECHO TimeOut 6000 >> %1:\TEK\EZROM.CFG
ECHO Debug OFF >> %1:\TEK\EZROM.CFG
ECHO AllowLogOff ON >> %1:\TEK\EZROM.CFG
ECHO CheckSize ON >> %1:\TEK\EZROM.CFG
ECHO LinesPerPage 22 >> %1:\TEK\EZROM.CFG
ECHO TagChar 18 , >> %1:\TEK\EZROM.CFG
ECHO Zone 1 Color 15 First 1 Last 12 >> %1:\TEK\EZROM.CFG
ECHO Zone 2 Color 14 First 14 Last 22 >> %1:\TEK\EZROM.CFG
ECHO Zone 3 Color 10 First 23 Last 32 >> %1:\TEK\EZROM.CFG
ECHO Zone 4 Color 11 First 33 Last 78 >> %1:\TEK\EZROM.CFG
ECHO DirectVideo ON >> %1:\TEK\EZROM.CFG
ECHO CheckSnow ON >> %1:\TEK\EZROM.CFG
ECHO BiosScroll ON >> %1:\TEK\EZROM.CFG
ECHO Areas >> %1:\TEK\EZROM.CFG
ECHO %2:\TEK-01 %2:\FILELIST\MENUFILE\TEKAR.01 >> %1:\TEK\EZROM.CFG
ECHO %2:\TEK-02 %2:\FILELIST\MENUFILE\TEKAR.02 >> %1:\TEK\EZROM.CFG
ECHO %2:\TEK-03 %2:\FILELIST\MENUFILE\TEKAR.03 >> %1:\TEK\EZROM.CFG
ECHO %2:\TEK-04 %2:\FILELIST\MENUFILE\TEKAR.04 >> %1:\TEK\EZROM.CFG
ECHO %2:\TEK-05 %2:\FILELIST\MENUFILE\TEKAR.05 >> %1:\TEK\EZROM.CFG
ECHO %2:\TEK-06 %2:\FILELIST\MENUFILE\TEKAR.06 >> %1:\TEK\EZROM.CFG
ECHO %2:\TEK-07 %2:\FILELIST\MENUFILE\TEKAR.07 >> %1:\TEK\EZROM.CFG
ECHO %2:\TEK-08 %2:\FILELIST\MENUFILE\TEKAR.08 >> %1:\TEK\EZROM.CFG
ECHO %2:\TEK-09 %2:\FILELIST\MENUFILE\TEKAR.09 >> %1:\TEK\EZROM.CFG
ECHO %2:\TEK-10 %2:\FILELIST\MENUFILE\TEKAR.10 >> %1:\TEK\EZROM.CFG
ECHO %2:\TEK-11 %2:\FILELIST\MENUFILE\TEKAR.11 >> %1:\TEK\EZROM.CFG
ECHO %2:\TEK-12 %2:\FILELIST\MENUFILE\TEKAR.12 >> %1:\TEK\EZROM.CFG
ECHO %2:\TEK-13 %2:\FILELIST\MENUFILE\TEKAR.13 >> %1:\TEK\EZROM.CFG
ECHO %2:\TEK-14 %2:\FILELIST\MENUFILE\TEKAR.14 >> %1:\TEK\EZROM.CFG
ECHO %2:\TEK-15 %2:\FILELIST\MENUFILE\TEKAR.15 >> %1:\TEK\EZROM.CFG
ECHO %2:\TEK-16 %2:\FILELIST\MENUFILE\TEKAR.16 >> %1:\TEK\EZROM.CFG
ECHO %2:\TEK-17 %2:\FILELIST\MENUFILE\TEKAR.17 >> %1:\TEK\EZROM.CFG
ECHO %2:\TEK-18 %2:\FILELIST\MENUFILE\TEKAR.18 >> %1:\TEK\EZROM.CFG
ECHO %2:\TEK-19 %2:\FILELIST\MENUFILE\TEKAR.19 >> %1:\TEK\EZROM.CFG
ECHO %2:\TEK-20 %2:\FILELIST\MENUFILE\TEKAR.20 >> %1:\TEK\EZROM.CFG
ECHO %2:\TEK-21 %2:\FILELIST\MENUFILE\TEKAR.21 >> %1:\TEK\EZROM.CFG
ECHO %2:\TEK-21 %2:\FILELIST\MENUFILE\TEKAR.22 >> %1:\TEK\EZROM.CFG
ECHO %2:\TEK-21 %2:\FILELIST\MENUFILE\TEKAR.23 >> %1:\TEK\EZROM.CFG
ECHO Areas >> %1:\TEK\EZROM.CFG
ECHO ; >> %1:\TEK\EZROM.CFG
ECHO ; >> %1:\TEK\EZROM.CFG
CD \
ECHO @ECHO OFF >> %1:\TEK.BAT
ECHO %1: >> %1:\TEK.BAT
ECHO CD %1:\TEK >> %1:\TEK.BAT
ECHO EZROM LOCAL >> %1:\TEK.BAT
ECHO CD %1:\TEKDROP >> %1:\TEK.BAT
ECHO CLS >> %1:\TEK.BAT
ECHO TYPE FILES.BBS | MORE >> %1:\TEK.BAT
ECHO PAUSE >> %1:\TEK.BAT
ECHO DIR /W >> %1:\TEK.BAT
ECHO ECHO. >> %1:\TEK.BAT
ECHO ECHO █████ Here are Your CD-ROM Files >> %1:\TEK.BAT
ECHO ECHO █████ Complements of Arsenal Computer >> %1:\TEK.BAT
ECHO ECHO █████ >> %1:\TEK.BAT
ECHO ECHO █████ Please Remember to Support Shareware! >> %1:\TEK.BAT
ECHO ECHO. >> %1:\TEK.BAT
CLS
ECHO.
ECHO.
ECHO █▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀█
ECHO █ You will now be asked if you wish to print the Tech Arsenal █
ECHO █ registration form. This form will enable you to recieve █
ECHO █ information about any upgrades and new products. █
ECHO █ █
ECHO █ We strongly recommend that you print and mail in this form, █
ECHO █ as it makes our job of serving you with the Best in CD-ROM discs █
ECHO █ that much easier. █
ECHO █▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄█
ECHO.
ECHO Do You Wish to Print This Form?
ECHO.
ASK A N
IF ERRORLEVEL = 2 GOTO LONGWIND
IF ERRORLEVEL = 1 GOTO PRINTEM
IF ERRORLEVEL = 0 GOTO LONGWIND
:PRINTEM
PRINT REGISTER.TEK
:LONGWIND
CLS
ECHO.
ECHO.
ECHO █▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀█
ECHO █ The Batchfile TEK is now ready for your useage. █
ECHO █ █
ECHO █ When you are ready to begin, log to your %1:\ Drive █
ECHO █ and type █
ECHO █ █
ECHO █ TEK █
ECHO █ █
ECHO █ Please note that you will either need to have the %1:\ █
ECHO █ directory in your PATH, or else you will need to be █
ECHO █ physically logged into the root directory. █
ECHO █▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄█
ECHO.
ECHO ░▒▓█ Your Path Statement is:
ECHO.
PATH
ECHO.
:END